package cn.jiyun.service;

import cn.jiyun.dao.domain.Product;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProductService {

   PageInfo getproducts(Product product,Integer pageNum,Integer limit);

    void addproduct(Product product);

    Product findByid(Integer id);

    void updateProduct(Product product);

    void deleteProducts(Integer[] id);

    List<Product> findbyname(String name);
}
